package com.wanmait.demo.pojo;

import java.io.Serializable;
import java.util.Date;

public class OrderBack implements Serializable {
    private Integer id;

    /**
	* 维修人员id
	*/
    private Worker workerId;

    /**
	* 维修订单id
	*/
    private RepairOrder repairOrderId;

    /**
	* 退单原因
	*/
    private String reason;

    /**
	* 状态
	*/
    private Boolean enble;

    /**
	* 退单时间
	*/
    private Date inputTime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Worker getWorkerId() {
        return workerId;
    }

    public void setWorkerId(Worker workerId) {
        this.workerId = workerId;
    }

    public RepairOrder getRepairOrderId() {
        return repairOrderId;
    }

    public void setRepairOrderId(RepairOrder repairOrderId) {
        this.repairOrderId = repairOrderId;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public Boolean getEnble() {
        return enble;
    }

    public void setEnble(Boolean enble) {
        this.enble = enble;
    }

    public Date getInputTime() {
        return inputTime;
    }

    public void setInputTime(Date inputTime) {
        this.inputTime = inputTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", workerId=").append(workerId);
        sb.append(", repairOrderId=").append(repairOrderId);
        sb.append(", reason=").append(reason);
        sb.append(", enble=").append(enble);
        sb.append(", inputTime=").append(inputTime);
        sb.append("]");
        return sb.toString();
    }
}